package com.neusoft.bizcore.auth.dto;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import com.neusoft.bizcore.web.dto.AbstractDTO;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class AuthContentTypeDTO extends AbstractDTO {

    private static final long serialVersionUID = 1L;

    /** 应用标识 */
    @NotBlank(message = "应用标识不能为空")
    @Length(max = 50, message = "应用标识不能超过{max}位")
    private String appLabel;

    /** 应用名称 */
    @NotBlank(message = "应用名称不能为空")
    @Length(max = 255, message = "应用名称不能超过{max}位")
    private String appName;

}
